from components import TitleInterface
from .plugins.video import VideoParseView, CompressVideoView, M3U8DownView


class VideoInterface(TitleInterface):
    def __init__(self, parent=None):
        super().__init__(parent)
        self.addSampleCard(CompressVideoView(self))
        self.addSampleCard(M3U8DownView(self))
        self.addSampleCard(VideoParseView(self))
        self.__initWidgets()

    def __initWidgets(self):
        self.setTitle('视频相关功能')
        self.setObjectName('VideoInterface')
